.TH std::atomic::operatorT 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::atomic::operatorT \- std::atomic::operatorT

.SH Synopsis
   operator T() const noexcept;          \fB(1)\fP \fI(since C++11)\fP
   operator T() const volatile noexcept; \fB(2)\fP \fI(since C++11)\fP

   Atomically loads and returns the current value of the atomic variable. Equivalent to
   load().

   It is deprecated if std::atomic<T>::is_always_lock_free is false and   \fI(since C++20)\fP
   overload \fB(2)\fP participates in overload resolution.

.SH Parameters

   \fI(none)\fP

.SH Return value

   The current value of the atomic variable.

.SH See also

   load atomically obtains the value of the atomic object
        \fI(public member function)\fP
